﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace FoursquareTask.Models
{
    public class Search
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Display(Name = "Enter text here:")]
        public string Text { get; set; }

        [Required]
        [Range(0, long.MaxValue)]
        public long Count { get; set; }


    }
}